#!/bin/bash -e

mkdir bin
wget -O dirb.tar.gz https://sourceforge.net/projects/dirb/files/latest/download
tar -xf dirb.tar.gz

chmod -R a+X dirb222/
cd dirb*
chmod a+x configure
./configure
make
cp dirb ../bin
